#-------------------------------------------------
#
# Project created by QtCreator 2016-11-05T16:03:58
#
#-------------------------------------------------
##DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS


#greaterThan(QT_MAJOR_VERSION, 4): QT += gui core widgets
QT += qml quick network multimedia widgets

#TRANSLATIONS += topViewEnglishLan.ts

TARGET = mapEditModule
TEMPLATE = lib

DEFINES += MAPEDITMODULE_LIBRARY

CONFIG += c++11
CONFIG += c++14

unix {
    target.path = /usr/lib
    INSTALLS += target
}


OTHER_FILES +=

INCLUDEPATH += ../../include/
#INCLUDEPATH += ../../include/yaml-cpp
INCLUDEPATH +=/usr/local/include/yaml-cpp
INCLUDEPATH += ../mapDataStruct

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

#编译目录
UI_DIR += ../build/hmi/x86_windows/mapEditModule
MOC_DIR += ../build/hmi/x86_windows/mapEditModule
OBJECTS_DIR += ../build/hmi/x86_windows/mapEditModule
RCC_DIR  += ../build/hmi/x86_windows/mapEditModule
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86

#LIBS += -L../../lib/x86 -lyaml-cpp
LIBS     += /usr/local/lib/libyaml-cpp.so

#编译目录
UI_DIR += ../build/hmi/x86_linux/mapEditModule
MOC_DIR += ../build/hmi/x86_linux/mapEditModule
OBJECTS_DIR += ../build/hmi/x86_linux/mapEditModule
RCC_DIR  += ../build/hmi/x86_linux/mapEditModule
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
#编译目录
UI_DIR += ../build/hmi_arm/mapEditModule
MOC_DIR += ../build/hmi_arm/mapEditModule
OBJECTS_DIR += ../build/hmi_arm/mapEditModule
RCC_DIR  += ../build/hmi_arm/mapEditModule
}



HEADERS += \
    dialogblockedit.h \
    dialoggroupedit.h \
    dialogrootpath.h \
    dockblock.h \
    dockgroup.h \
    dockmaptree.h \
    dockproperty.h \
    dockview.h \
    mapeditwindow.h \
    mapitembkg.h \
    mapitemcubicbezier.h \
    mapitemline.h \
    mapitemquadraticbezier.h \
    mapitemstation.h \
    mapitemstationname.h \
    maptreeitem.h \
    maptreemodel.h \
    scene.h \
    viewer.h

SOURCES += \
    dialogblockedit.cpp \
    dialoggroupedit.cpp \
    dialogrootpath.cpp \
    dockblock.cpp \
    dockgroup.cpp \
    dockmaptree.cpp \
    dockproperty.cpp \
    dockview.cpp \
    mapeditwindow.cpp \
    mapitembkg.cpp \
    mapitemcubicbezier.cpp \
    mapitemline.cpp \
    mapitemquadraticbezier.cpp \
    mapitemstation.cpp \
    mapitemstationname.cpp \
    maptreeitem.cpp \
    maptreemodel.cpp \
    scene.cpp \
    viewer.cpp

